package com.ldk.springboot2021.service;

import com.ldk.springboot2021.pojo.Door;
import org.springframework.ui.Model;

//门店模块的业务层接口
public interface DoorService {

    //添加门店信息
//   int addDoorInfo(Door door);
   String addDoorInfo(String doorName, String tel, Model model);
    //查询所有门店信息
   String findAllDoorsInfo(Model model);
   //删除指定Id门店信息
    String deleteByDoorId(Integer doorId);
    //前往修改页面
   String toUpdateByDoorId(Integer doorId,Model model);
   //修改指定id
    String updateById(Door door);
}
